import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/relation_query_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/relation_query_entity.g.dart';

@JsonSerializable()
class RelationQueryEntity {
	 String? msg;
	 int? code;
	 List<RelationQueryData>? data;

	RelationQueryEntity();

	factory RelationQueryEntity.fromJson(Map<String, dynamic> json) => $RelationQueryEntityFromJson(json);

	Map<String, dynamic> toJson() => $RelationQueryEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class RelationQueryData {
	 String? createTime;
	 RelationQueryDataParams? params;
	 int? id;
	 String? relationName;
	 int? userId;

	RelationQueryData();

	factory RelationQueryData.fromJson(Map<String, dynamic> json) => $RelationQueryDataFromJson(json);

	Map<String, dynamic> toJson() => $RelationQueryDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class RelationQueryDataParams {


	RelationQueryDataParams();

	factory RelationQueryDataParams.fromJson(Map<String, dynamic> json) => $RelationQueryDataParamsFromJson(json);

	Map<String, dynamic> toJson() => $RelationQueryDataParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}